package com.mmd.admin.model.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.mmd.base.pojo.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * <p>
 * 商家保证金规则
 * </p>
 *
 * @author ${author}
 * @since 2023-08-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("life_serve_earnest_money_rule")
@ApiModel(value="EarnestMoneyRule对象", description="商家保证金规则")
public class EarnestMoneyRule extends BaseEntity<EarnestMoneyRule> {


    @ApiModelProperty(value = "最低销量")
    private Integer minNumber;

    @ApiModelProperty(value = "金额")
    private BigDecimal money;

    @ApiModelProperty(value = "最高销量")
    private Integer maxNumber;


}
